package kr.util.extractor;

public abstract class AbstractExtractor {
	protected String fileName = null;
	protected StringBuffer text = null;
	
	protected String charset = null;
	
	public AbstractExtractor(String fileName){
		setText(fileName);
	}
	
	public AbstractExtractor(String fileName, String charset){
		this.charset = charset;
		setText(fileName);
	}
	
	public abstract void setText(String fileName);
	
	public StringBuffer getText() {
		return text;
	}
	
	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public String getCharset() {
		return charset;
	}

	public void setCharset(String charset) {
		this.charset = charset;
	}
}
